		<div class="boxBetween2"></div>

		<div class="boxRight2">
		
			<div class="boxLiveStats">

				<div class="boxTitle"><img src="images/i_livestats2.png">&nbsp; Live Stats</div>
				<div class="dottedRow">Welcome, <font color="#00a0c2">{$uloggedUser}</font>!</div>
				<div class="dottedRowLeft">Earnings Today</div><div class="dottedRowRight" id="LS_todayEarnings">${$today_earnings}</div>
				<div class="dottedRowLeft">Earnings This Month</div><div class="dottedRowRight" id="LS_monthEarnings">${$month_earnings}</div>
				<div class="dottedRowLeft">Available Balance</div><div class="dottedRowRight" id="LS_availableBalance">${$total_earnings}</div>
				<center><a href="logout.php"><img src="images/b_logout.png" onmouseover="this.src='images/b_logout_over.png'" onmouseout="this.src='images/b_logout.png'" style="margin-top: 8px;" border="0" alt="Logout"></a></center>

			</div>

			<div class="h30"></div>

			<div class="boxNav">

				<!--Menu-->


				<!--navs-->
				<div class="parent" {if $script eq "dashboard" || $script eq "account" || $script eq "cashout"} id="currentNavigation"{/if}><a href="#">Dashboard</a></div>
				<div class="child" id="nm_dashboard">
				<a href="{$SITE_URL}dashboard.php">&raquo; Member Home</a>
				<a href="{$SITE_URL}account.php" >&raquo; Account Settings</a>
				<a href="{$SITE_URL}cashout.php" style="border-bottom:0">&raquo; Request Payment</a>
				</div>

				<div class="parent" {if $script eq "stats" || $script eq "analytics"} id="currentNavigation"{/if}><a href="{$SITE_URL}stats.php">Statistics</a></div>

				<div class="parent" {if $script eq "files" || $script eq "upload"} id="currentNavigation"{/if}><a href="#">Files</a></div>
				<div class="child" id="nm_links">
				<a href="{$SITE_URL}upload.php">&raquo; Upload Files</a>
				<a href="{$SITE_URL}files.php" style="border-bottom:0">&raquo; Manage Files</a>
				</div>


				<div class="parent" {if $script eq "gateways" || $script eq "creat" || $script eq "edit"} id="currentNavigation"{/if}><a href="#">Content Gateways</a></div>
				<div class="child" id="nm_gateways">
				<a href="{$SITE_URL}create.php">&raquo; Create Gateway</a>
				<a href="{$SITE_URL}gateways.php" style="border-bottom:0">&raquo; Manage Gateways</a>
				</div>

				<div class="parent" {if $script eq "links" || $script eq "upload_link"} id="currentNavigation"{/if}><a href="#">Links</a></div>
				<div class="child" id="nm_files">
				<a href="{$SITE_URL}upload_link.php">&raquo; Add Link</a>
				<a href="{$SITE_URL}links.php" style="border-bottom:0">&raquo; Manage Links</a>
				</div>




				<div class="parent" {if $script eq "referrals"} id="currentNavigation"{/if}><a href="{$SITE_URL}referrals.php">Referrals</a></div>
				<div class="parent" {if $script eq "leaderboard"} id="currentNavigation"{/if}><a href="{$SITE_URL}leaderboard.php">Leaderboard</a></div>
				{if $messages_enabled eq 1}
				<div class="parent" {if $script eq "messages" || $script eq "sendmessage" || $script eq "message"} id="currentNavigation"{/if}><a href="#">Message Center</a></div>
				<div class="child" id="nm_files">
				<a href="{$SITE_URL}messages.php">&raquo; My Messages</a>
				<a href="{$SITE_URL}sendmessage.php" style="border-bottom:0">&raquo; Send Message</a>
				</div>
				{/if}

				<div class="navGreyBottom"><a href="{$SITE_URL}logout.php">Logout</a></div>

				<!--end Navs-->


				<!--end Menu-->




				{literal}
				<script type="text/javascript">

				$(document).ready(function(){
					

				 $('.parent, #currentNavigation').click(function(e){
					 e.preventDefault();
					 
					if($(this).next().attr('class') == 'child'){
					
					$(this).removeClass('parent').addClass('parentSel');
					
					$(this).next().slideToggle('fast', function(){
						  if($(this).is(":hidden")){
							 
							 $(this).prev().removeClass('parentSel').addClass('parent');

								  
						  }else
						  {

							  $(this).prev().removeClass('parent').addClass('parentSel');
  			  			  
						  }
					 });
					 
				   }else
				   {
					   $(this).removeClass('parent').addClass('parentSel');
				   

						 if(window.location.href != $(this).find('a').attr('href')) 
						 {
							 if($(this).find('a').attr('target') == '_blank')
							 window.open($(this).find('a').attr('href'), '_blank');
							 else
							 window.location.href = $(this).find('a').attr('href'); 
							 
						 }
					  }
				 });
				 
				 
				 //$('#currentNavigation').click();
				  $('#currentNavigation').addClass(function(){
					  
					//  $(this).removeClass('parent').addClass('parentSel');
					  
					  if($(this).next().attr('class') == 'child'){
					
					$(this).removeClass('parent').addClass('parentSel');
					
					$(this).next().slideToggle('fast', function(){
						  if($(this).is(":hidden")){
							 
							 $(this).prev().removeClass('parentSel').addClass('parent');
							  $(this).prev().css('border-bottom-width', '0');  

								  
						  }else
						  {

							  $(this).prev().removeClass('parent').addClass('parentSel');
  			  
						  }
					 });
					 
				   }else{ $('#currentNavigation').addClass('parentSel');}	  
					  
					  
					  });


					
				});




				</script>
				{/literal}

			</div>

			<div class="h30"></div>

			<div class="boxDailyRank">

				<div class="boxTitle"><img src="images/i_dailyrank2.png">&nbsp; Daily Rank</div>


				{if $myRank eq ""}

				<center><br><br><br>You are not yet ranked in top 100!</center>

				{else}
				<div class="dottedRow" style="height: 64px; line-height: 64px;">Your rank today is&nbsp;&nbsp; <font style="color: #00a0c2; font-size: 50px; vertical-align: middle;">#{$myRank}</font></div>
				{if $myRank gt 1}
				<div class="noneRow2">You need {$myGoal} to move up.</div>
				{/if}

				{/if}
				

			</div>
		
		</div>

		<div class="h30"></div>

	</div>

</div>